<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<table>
	<!-- 
	<tr>
		<td align="center">
			&emsp;<s:textarea cols="60" rows="2" name="post_comment"/>
			
		</td>
	</tr>
	<tr><td style="font-family: calibri; font-size: small;" colspan="2" align="right"><a href="#">Post</a>&emsp;<a href="#">Upload</a></td></tr>
	<tr><td colspan="2" style="border-bottom: 1px solid lightgrey;"></td></tr>
	 -->
	
	<s:iterator value="all_updates">
	<tr><td height="20px"></td></tr>
	<tr>
		<td width="20px"></td>
		<td style="background-color: #F4F1F1;" colspan="2" width="500px">
			
				<table>
				<tr><td height="5px"></td></tr>
				<tr>
				<td width="5px"></td>
				<td>
					<table>
						<tr>
							<td width="95px"><font style="font-family: calibri; font-size: small; color: #29262B;"><b><s:property value="u_name"/></b></font></td><td width="5px"></td>
							<td width="5px" style="border-left: 1px solid lightgray;"></td><td width="395px"><font color="black" style="font-family: calibri; font-size: small;"><s:property value="update"/></font></td>
						</tr>
						<tr><td height="5px" colspan="4" style="border-bottom: 1px solid lightgray;"></td></tr>
						<tr><td height="5px" colspan="4"></td></tr>
						<tr>
							<td colspan="4">
								<table>
									<tr>
										<s:if test="comment_count>0">
											<td><font color="#504E4E" style="font-family: calibri; font-size: 8pt;">Comments&ensp;</font></td><td height="11px" style="background-color: #535353;"><font color="white" style="font-family: calibri; font-size: 8pt;">&ensp;<b><s:property value="comment_count"/></b>&ensp;</font></td>
											<td width="20px"></td>
										</s:if>
										<s:if test="cool_count>0">
											<td><font color="#504E4E" style="font-family: calibri; font-size: 8pt;">Cools&ensp;</font></td><td height="11px" style="background-color: #535353;"><font color="white" style="font-family: calibri; font-size: 8pt;">&ensp;<b><s:property value="cool_count"/></b>&ensp;</font></td>
											<td width="20px"></td>
										</s:if>
										<s:if test="agree_count>0">
											<td><font color="#504E4E" style="font-family: calibri; font-size: 8pt;">Agrees&ensp;</font></td><td height="11px" style="background-color: #535353;"><font color="white" style="font-family: calibri; font-size: 8pt;">&ensp;<b><s:property value="agree_count"/></b>&ensp;</font></td>
										</s:if>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					</td>
					<td width="5px"></td>
					</tr>
					<tr><td height="5px"></td></tr>
				</table>
				<!-- 
				<font style="font-family: calibri; font-size: small; color: #29262B;"><b><s:property value="u_name"/></b></font>&ensp;<font style="font-family: calibri; font-size: small;"><s:property value="update"/></font>
				<br>
				&ensp;&ensp;&ensp;<font color="gray" style="font-family: calibri; font-size: 8pt;"><b><s:property value="count"/></b>&ensp;Comments</font>
				 -->
				<!-- 
				<table>
					<tr><td width="20px"></td><td><table width="500px" style="background-color: #EBECED;">
					<s:iterator value="group_updates">
						<tr><td height="5px"></td></tr>
						<tr><td><font style="font-family: calibri; font-size: small; color: #29262B;"><b>&ensp;<s:property value="updater_name"/></b></font>&ensp;<font style="font-family: calibri; font-size: small;"><s:property value="update"/></font></td></tr>
						<tr><td style="border-bottom: 1px solid lightgrey;" height="5px">&ensp;<font style="font-family: calibri; font-size: 8pt;"><a href="#">Cool</a>&emsp;<a href="#">Agree</a></font></td></tr>
						<tr><td height="5px"></td></tr>
						<tr><td><font style="font-family: calibri; font-size: small; color: #29262B;"><b>&ensp;<s:property value="updater_name"/></b></font>&ensp;<font style="font-family: calibri; font-size: small;"><s:property value="update"/></font></td></tr>
						<tr><td style="border-bottom: 1px solid lightgrey;" height="5px">&ensp;<font style="font-family: calibri; font-size: 8pt;"><a href="#">Cool</a>&emsp;<a href="#">Agree</a></font></td></tr>
						<!-- <tr><td height="5px" style="border-bottom: 1px solid lightgrey;"></td></tr>  -->
					<!-- 
					</s:iterator>
					</table></td></tr>
				</table>
				 -->
					
						
					
			
		</td>
	</tr>
	</s:iterator>
</table>
</body>
</html>